<?php

namespace app\api\validate;

class PaginParameter extends BaseValidate{
    
    protected $rule=[
        'page'=>'isPositiveInteger',
        'size'=>'isPositiveInteger'
    ];

    protected $message=[
        'page'=>'分页参数必须是正整数',
        'size'=>'分页参数必须是正整数'

    ];
}